<div class="flex" [ngClass]="{'resizeAmountFont': resize}">
  <span class="amount">
    {{ amount }}
  </span>
  <span class="unit">
    {{ unit }}
  </span>
</div>